<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>obs-studio</Name>
        <Homepage>https://obsproject.com/</Homepage>
        <Packager>
            <Name>Stefan Gronewold (groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>GPL-2</License>
        <IsA>app:gui</IsA>
        <Summary>Open Broadcaster Software.</Summary>
        <Description>Free and open source software for video recording and live streaming.</Description>
        <Archive sha1sum="c40af4b59fdde8e3cd8857442b077992b1cb0a2e" type="targz">https://github.com/obsproject/obs-studio/archive/refs/tags/29.1.0-beta1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>swig</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>ninja</Dependency>
            <!-- <Dependency>vlc-libs</Dependency> -->
            <Dependency>srt-devel</Dependency>
            <Dependency>vlc-devel</Dependency>
            <Dependency>lua-devel</Dependency>
            <Dependency>pkgconfig</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>x264-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libva-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>luajit-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libv4l-devel</Dependency>
            <Dependency>libxcb-devel</Dependency>
            <Dependency>libmfx-devel</Dependency>
            <Dependency>librist-devel</Dependency>
            <Dependency>qt6-svg-devel</Dependency>
            <Dependency>jansson-devel</Dependency>
            <Dependency>rnnoise-devel</Dependency>
            <Dependency>mbedtls-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>wayland-devel</Dependency>
            <Dependency>wayland-client</Dependency>
            <Dependency>wayland-cursor</Dependency>
            <Dependency>wayland-server</Dependency>
            <Dependency>pciutils-devel</Dependency>
            <Dependency>qt6-base-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>libglvnd-devel</Dependency>
            <Dependency>pipewire-devel</Dependency>
            <Dependency>speexdsp-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>libfdk-aac-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <!-- <Dependency>libpciaccess-devel</Dependency> -->
            <Dependency>libXcomposite-devel</Dependency>
            <!-- <Dependency>qt5-x11extras-devel</Dependency> -->
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- <Patch level='1'></Patch> -->
            <Patch level='1'>alpine/disable_some_plugins.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>obs-studio</Name>
        <RuntimeDependencies>
            <Dependency>srt</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>x264</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libva</Dependency>
            <Dependency>luajit</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libv4l</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>librist</Dependency>
            <Dependency>qt6-svg</Dependency>
            <Dependency>jansson</Dependency>
            <Dependency>mbedtls</Dependency>
            <Dependency>python3</Dependency>
            <Dependency>rnnoise</Dependency>
            <Dependency>wayland</Dependency>
            <Dependency>pciutils</Dependency>
            <Dependency>speexdsp</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libglvnd</Dependency>
            <Dependency>pipewire</Dependency>
            <!-- <Dependency>vlc-libs</Dependency> -->
            <Dependency>qt6-base</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libfdk-aac</Dependency>
            <Dependency>libxkbcommon</Dependency>
            <Dependency>libXcomposite</Dependency>
            <!-- <Dependency>qt5-x11extras</Dependency> -->
            <Dependency>wayland-client</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/obs-studio.desktop">obs-studio.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/obs-logo.png">obs-logo.png</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>obs-studio-devel</Name>
        <Summary>Development files for obs-studio</Summary>
        <RuntimeDependencies>
            <Dependency release="current">obs-studio</Dependency>
            <Dependency>libX11-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="14">
            <Date>2023-04-01</Date>
            <Version>29.1.0_beta1</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="13">
            <Date>2023-02-06</Date>
            <Version>29.0.2</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="12">
            <Date>2021-11-09</Date>
            <Version>27.1.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2020-10-19</Date>
            <Version>26.0.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2020-03-04</Date>
            <Version>24.0.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2019-11-04</Date>
            <Version>24.0.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2019-04-12</Date>
            <Version>23.0.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2019-03-14</Date>
            <Version>23.0.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-04-28</Date>
            <Version>21.0.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-02-18</Date>
            <Version>21.0.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-03</Date>
            <Version>17.0.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-11</Date>
            <Version>17.0.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-07-21</Date>
            <Version>0.15.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-07-13</Date>
            <Version>0.15.1</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold (groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
